import request from '@/utils/request'

//查询全部优势
export function findAll() {
  return request({
    url: '/pms/pmsAdvantage/findAll',
    method: 'get',
  })
}
//添加公司优势
export function save(advantageIds) {
  return request({
    url: '/pms/pmsAdvantage/save',
    method: 'post',
    data:advantageIds
  })
}

//获取该公司对应的公司福利
export function findCompanyAdvantage(advantageIds) {
  return request({
    url: '/pms/pmsAdvantage/findCompanyAdvantage',
    method: 'get',
  })
}
